package com.woniuxy.pxxt.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * (PxxtMenu)实体类
 *
 * @author makejava
 * @since 2022-03-14 13:27:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {
    private static final long serialVersionUID = -87869011620174702L;

    private Integer menuid;
    /**
     * 图标
     */
    private String icon;
    /**
     * 父级id
     */
    private Integer fid;
    /**
     * 权限菜单名字
     */
    private String title;
    /**
     * 对应的view视图的名字
     */
    private String component;

    private String hasthird;
    /**
     * path名字
     */
    private String path;
    /**
     * 是否有权限
     */
    private boolean requireAuth;
    /**
     * 对应roter里面的name
     */
    private String name;


    private List<Menu> children;

    private Integer userId;
}

